package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author fzj
 * @since 2018-04-25
 */
@TableName("base_driver")
public class BaseDriver extends CommonVo implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 驾驶员Id
     */
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;
    /**
     * 驾驶员编号
     */
    @TableField("driver_code")
    private String driverCode;
    /**
     * 驾驶员名字
     */
    @TableField("driver_name")
    private String driverName;
    /**
     * 驾驶员性别
     */
    @TableField("sex")
    private Integer sex;
    /**
     * 驾驶证
     */
    @TableField("drive_license")
    private String driveLicense;
    /**
     * 车牌号
     */
    @TableField("car_number")
    private String carNumber;
    /**
     * 驾照类型
     */
    @TableField("drive_type")
    private String driveType;
    /**
     * 电话
     */
    @TableField("phone_number")
    private String phoneNumber;
    /**
     * 所属网点ID
     */
    @TableField("site_id")
    private Integer siteId;
    /**
     * 网点名称
     */
    @TableField("site_name")
    private String siteName;

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    /**
     * 创建人名称
     */
    @TableField("create_name")
    private String createName;

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    /**
     * 驾驶员地址
     */
    private String address;
    /**
     * 数据状态 0删除 1正常
     */
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 车辆ID
     */
    @TableField("car_id")
    private String carId;

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public Integer getDriverId() {
        return driverId;
    }

    public void setDriverId(Integer driverId) {
        this.driverId = driverId;
    }

    public String getDriverCode() {
        return driverCode;
    }

    public void setDriverCode(String driverCode) {
        this.driverCode = driverCode;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getDriveLicense() {
        return driveLicense;
    }

    public void setDriveLicense(String driveLicense) {
        this.driveLicense = driveLicense;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getDriveType() {
        return driveType;
    }

    public void setDriveType(String driveType) {
        this.driveType = driveType;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    @Override
    public String toString() {
        return "Driver{" +
        ", driverId=" + driverId +
        ", driverName=" + driverName +
        ", sex=" + sex +
        ", driveLicense=" + driveLicense +
        ", carNumber=" + carNumber +
        ", driveType=" + driveType +
        ", phoneNumber=" + phoneNumber +
        ", siteId=" + siteId +
        ", address=" + address +
        ", rdStatus=" + rdStatus +
        "}";
    }
}
